home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softdisk Supreme
/
Softdisk Supreme.iso
/
pc
/
DSK Files
/
0-49
/
SD023b.dsk
/
LABELS.UC.bas
< prev
next >
Wrap
BASIC Source File
|
2003-06-12
|
3KB
|
85 lines
10 TEXT : HOME
20 VTAB 6: PRINT "****************************************"
40 PRINT "* INTERNATIONAL ADDRESS LABELS *"
60 PRINT "* MX-80 VERSION *"
80 PRINT "* BY LARRY NORDGAARD *"
100 PRINT "****************************************"
110 FOR A = 1 TO 4500
120 NEXT A
130 HOME
139 REM PRINT MODES/CODES
140 LET CI$ = CHR$(9):CA$ = CHR$(1): REM CTRL I & CTRL A
150 LET CN$ = CHR$(14):CT$ = CHR$(20): REM EXPANDED ON/OFF
160 LET CO$ = CHR$(15):CR$ = CHR$(18): REM CONDENSED ON/OFF
170 LET ESC$ = CHR$(27)
180 LET ED$ = ESC$ +"D": REM SET HTABS COMMAND
190 LET EE$ = ESC$ +"E":EF$ = ESC$ +"F": REM EMPHASIS ON/OFF
200 LET EG$ = ESC$ +"G":EH$ = ESC$ +"H": REM DOUBLE STRIKE ON/OFF
210 VTAB 8: HTAB 5: INPUT "(A)MERICA OR (I)NTERNATIONAL ?";G$
220 GOTO 800
240 HOME : VTAB 12: HTAB 7: INPUT "(L)ARGE OR (S)MALL LABELS ?";S$
241 XS$ = "TO:"
243 ZS$ = "FROM:"
245 NS$ = "MR. & MRS. I. M. LOST"
247 AS$ = "1234 COMMON DR."
249 SS$ = "ANYWHERE, ST 00000"
250 VTAB 13: HTAB 8: INPUT "NUMBER OF LABELS DESIRED: ";NL
260 IF S$ = "S" GOTO 499
270 PR# 1: CALL 1002
280 PRINT CI$"80N": PRINT
290 REM PRINT ROUTINE FOR LARGE LABELS
300 PRINT "--------------------------------------------------------------------------------"
305 N = 0
310 PRINT ZS$
320 PRINT TAB( 3)NS$
330 PRINT TAB( 3)AS$
340 PRINT TAB( 3)SS$
350 PRINT : PRINT TAB( 18)XS$
355 PRINT EG$EE$
360 PRINT : PRINT TAB( 20)CN$;N$
370 PRINT : PRINT TAB( 20)CN$;A$
380 PRINT : PRINT TAB( 20)CN$;CS$L1$
390 IF G$ = "A" GOTO 420
400 PRINT : PRINT TAB( 20)CN$;L2$
410 PRINT : PRINT TAB( 20)CN$;P$
420 PRINT : PRINT "--------------------------------------------------------------------------------";CT$EF$EH$
430 N = N +1
440 IF N = NL THEN PR# 0: CALL 1002: TEXT : PRINT : PRINT CHR$(4)"RUNMENU"
450 GOTO 310
499 REM PRINT ROUTINE FOR SMALL LABELS
510 PR# 1: CALL 1002
520 PRINT CI$"80n": PRINT
550 PRINT "--------------------------------------------------------------------------------"
555 N = 0
560 PRINT ZS$; TAB( 41)ZS$
570 PRINT NS$; TAB( 41)NS$
580 PRINT AS$; TAB( 41)AS$
590 PRINT SS$; TAB( 41)SS$
595 PRINT EE$EG$
600 PRINT : PRINT TAB( 8);"To:"; TAB( 48);"To:"
610 PRINT TAB( 8)N$; TAB( 48)N$
620 PRINT TAB( 8);A$; TAB( 48);A$
630 PRINT TAB( 8);CS$;L1$; TAB( 48);CS$;L1$
640 IF G$ = "A" GOTO 670
650 PRINT TAB( 8);L2$; TAB( 48);L2$
660 PRINT TAB( 15);P$; TAB( 55)P$
670 PRINT "________________________________________________________________________________";EF$EH$
700 N = N +1
710 IF N = NL THEN PR# 0: CALL 1002: PRINT : PRINT CHR$(4)"RUNMENU"
720 GOTO 560
800 HOME : INPUT "ENTER NAME: ";N$
810 INPUT "ENTER ADDRESS: ";A$
815 IF G$ = "I" GOTO 920
820 INPUT "ENTER CITY/TOWN: ";C$
830 INPUT "ENTER STATE: ";ST$
840 INPUT "ENTER ZIPCODE: ";Z$
850 CS$ = C$ +", " +ST$ +" " +Z$
860 GOTO 240
920 INPUT "ENTER VILLAGE: ";V$
930 INPUT "ENTER CITY/TOWN: ";T$
940 INPUT "ENTER COUNTY: ";CU$
950 INPUT "ENTER COUNTRY: ";CY$
960 INPUT "ENTER POSTAL CODE: ";P$
970 L1$ = V$ +", " +T$
980 L2$ = CU$ +", " +CY$
990 GOTO 240